package com.maikang.exammall.service;

import com.maikang.exammall.entity.GroupRegistry;
import com.maikang.exammall.repository.GroupRegistryRepository;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;


@Log4j2
@Service
public class GroupRegistryService extends BaseService<GroupRegistry, Long, GroupRegistryRepository> {

    public Long distinctCompany() {
        return repository.countCompany();
    }
}
